/*
 * @Author: nengwu 409791297@qq.com
 * @Date: 2020-06-30 22:04:30
 * @LastEditors: mylesshie@gmail.com
 * @LastEditTime: 2020-07-03 14:52:05
 * @description: 
 */ 
import React from 'react'
import { View, ActivityIndicator, StyleSheet } from 'react-native'

const Loading = () => {
  return (
    <View style={styles.wrap}>
      <ActivityIndicator color="#333" size="small" />
    </View>
  )
}

const styles = StyleSheet.create({
  wrap: {
    flex: 1,
    flexDirection: 'column',
    position: 'absolute',
    left: 0,
    top: 0,
    width: '100%',
    height: '100%',
    backgroundColor: 'rgba(255, 255, 255, 1)',
    alignItems: 'center',
    justifyContent: 'center'
  }
})

export default Loading